﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Manageweb_Member_MAccountTransferQuery : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void Btn_Submit_Click(object sender, EventArgs e)
    {
        BindRecord();
    }

    protected void BindRecord()
    {
        SQLExpressDAL.DealRecord obj = new SQLExpressDAL.DealRecord();
       this.GV_UserList.DataSource= obj.GetMemAccountTransferRecord(this.txtUserAccount.Text.Trim(), this.txtBeginDate.Text.Trim(), this.txtEndDate.Text.Trim(), this.ddlTransferType.SelectedValue);
       this.GV_UserList.DataBind();
    }

    protected void GV_UserList_PageIndexChanging(object sender, GridViewPageEventArgs e)
    {
        this.GV_UserList.PageIndex = e.NewPageIndex;
        BindRecord();
    }
}
